package com.morehair.service.wx;

import com.morehair.bean.bo.wx.SmsBO;
import com.morehair.bean.bo.wx.WxRegisterBO;
import com.morehair.bean.vo.wx.LoginVo;
import com.morehair.bean.vo.wx.WxResetPasswordVO;

import java.security.NoSuchAlgorithmException;

/**
 * @Description:
 * @Author raohui
 * @Date 2021/6/8 10:16
 */
public interface WxAuthService {

    LoginVo login(String username);

    String getSms(SmsBO smsBO);

    Integer wxRegister(WxRegisterBO registerBO,String generatedCode) throws NoSuchAlgorithmException;

    Integer resetPassword(WxResetPasswordVO wxResetPasswordVO, String generatedCode) throws NoSuchAlgorithmException;
}
